package com.lcx.db137.service.impl;

import com.lcx.db137.service.MenuService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.lcx.db137.mapper.MenuMapper;
import com.lcx.db137.entity.Menu;

import java.util.List;

/**
 * @Description  
 * @version 1.0 
 * @author lcx
 * @date 2024/12/24 11:48
 */
@Service
public class MenuServiceImpl extends ServiceImpl<MenuMapper, Menu> implements MenuService {
    @Autowired
    private MenuMapper menuMapper;
    @Override
    public List<Menu> selectMenuByUserId(Integer userId) {
        return menuMapper.selectMenuByUserId(userId);
    }
}
